package com.boot.persistence.model;

import java.io.Serializable;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description 关联实体类(通用关联表属性)
 * @date 2021/8/4 11:17
 **/

public interface AssociationModel<T extends Serializable, M extends Serializable, N extends Serializable> extends BaseModel<T> {

    M mid();

    void setMid(M mid);

    N nid();

    void setNid(N nid);
}
